import sys

from PySide6.QtGui import QPixmap
from PySide6.QtWidgets import QApplication, QMainWindow, QLabel

class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()

        self.setWindowTitle("My App")
        self.label = QLabel()
        self.label.setPixmap(QPixmap("./juren.jpg"))
        self.label.setScaledContents(True)


        self.setCentralWidget(self.label)


app = QApplication(sys.argv)
window = MainWindow()
window.show()

app.exec()
